package com.system.commonutils.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.sql.Timestamp;
@ApiModel("商品库存详细信息")
public class Stock_info {

  @ApiModelProperty(name = "stockinfo_id",dataType = "Integer",notes = "主键",required =  false)
  private Integer stockinfo_id;
  @ApiModelProperty(name = "stock_id",dataType = "Integer",notes = "库存id",required = false)
  private Integer stock_id;
  @ApiModelProperty(name = "stockinfo_state",dataType = "Integer",notes = "库存状态标识",required = false)
  private Integer stockinfo_state;
  @ApiModelProperty(name = "stock_price",dataType = "Double",notes = "商品单价",required =  false)
  private Double stock_price;
  @ApiModelProperty(name = "stock_number",dataType = "Integer",notes = "入库数量",required =  false)
  private Integer stock_number;
  @ApiModelProperty(name = "stock_id",dataType = "Date",notes = "入库时间",required =  false)
  private Date time;
  @ApiModelProperty(name="nowsPage" ,notes = "当前页数")
  private int nowsPage;//当前页数
  @ApiModelProperty(name="pageSize" ,notes = "页面显示条数")
  private int pageSize;//页面显示条数



  public Integer getStockinfo_state() {
    return stockinfo_state;
  }

  public void setStockinfo_state(Integer stockinfo_state) {
    this.stockinfo_state = stockinfo_state;
  }

  public int getNowsPage() {
    return nowsPage;
  }

  public void setNowsPage(int nowsPage) {
    this.nowsPage = nowsPage;
  }

  public int getPageSize() {
    return pageSize;
  }

  public void setPageSize(int pageSize) {
    this.pageSize = pageSize;
  }

  public Integer getStockinfo_id() {
    return stockinfo_id;
  }

  public void setStockinfo_id(Integer stockinfo_id) {
    this.stockinfo_id = stockinfo_id;
  }

  public Integer getStock_id() {
    return stock_id;
  }

  public void setStock_id(Integer stock_id) {
    this.stock_id = stock_id;
  }

  public Double getStock_price() {
    return stock_price;
  }

  public void setStock_price(Double stock_price) {
    this.stock_price = stock_price;
  }

  public Integer getStock_number() {
    return stock_number;
  }

  public void setStock_number(Integer stock_number) {
    this.stock_number = stock_number;
  }

  public Date getTime() {
    return time;
  }

  public void setTime(Date time) {
    this.time = time;
  }

  @Override
  public String toString() {
    return "Stock_info{" +
            "stockinfo_id=" + stockinfo_id +
            ", stock_id=" + stock_id +
            ", stockinfo_state=" + stockinfo_state +
            ", stock_price=" + stock_price +
            ", stock_number=" + stock_number +
            ", time=" + time +
            ", nowsPage=" + nowsPage +
            ", pageSize=" + pageSize +
            '}';
  }
}
